package javaExer.草稿;

import com.sun.jmx.snmp.SnmpUnknownAccContrModelException;

/**
 * @author 徐州城
 * @version 1.0
 */
public class x03 {
}

interface IB{
    String name = "张三";
    void f1();
}

interface IA extends IB{
    void method();
}

class Animal implements IA{
    @Override
    public void method() {
        System.out.println("cry...");
    }

    @Override
    public void f1() {
        System.out.println("f1()");
    }
}

class Cat extends Animal implements IA{

}